#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL.Times;
using Cephei.QL.Indexes;
using Cephei.QL;
using Cephei.QL.Instruments;
namespace Cephei.QL.Instruments.Bonds
{
    /// <summary> 
	/// ! \ingroup instruments
	/// </summary>
    [Guid ("14F64FE4-0969-4b23-8AB7-3E0C3D797681"),ComVisible(true)]
	public interface ICPIBond : Cephei.QL.Instruments.IBond
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Double BaseCPI {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Indexes.IZeroInflationIndex CpiIndex {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Times.IDayCounter DayCounter {get;}
        /// <summary> 
		/// 
		/// </summary>
		 QL.Times.FrequencyEnum Frequency {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Boolean GrowthOnly {get;}
        /// <summary> 
		/// 
		/// </summary>
		 QL.Cashflows.CPI.InterpolationTypeEnum ObservationInterpolation {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Times.IPeriod ObservationLag {get;}
    }   

    /// <summary> 
	/// ! \ingroup instruments Factory
	/// </summary>
   	[ComVisible(true)]
    public interface ICPIBond_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    ICPIBond Create (UInt32 settlementDays, Double faceAmount, Boolean growthOnly, Double baseCPI, Cephei.QL.Times.IPeriod observationLag, Cephei.QL.Indexes.IZeroInflationIndex cpiIndex, QL.Cashflows.CPI.InterpolationTypeEnum observationInterpolation, Cephei.QL.Times.ISchedule schedule, Cephei.Core.IVector<Double> coupons, Cephei.QL.Times.IDayCounter accrualDayCounter, Microsoft.FSharp.Core.FSharpOption<QL.Times.BusinessDayConventionEnum> paymentConvention, Microsoft.FSharp.Core.FSharpOption<DateTime> issueDate, Cephei.QL.IPricingEngine QL_Pricer);
    }
}

